extends layout

block append style
  link(rel="stylesheet" href="/docs/css/flexcpc.css")
  script(type="text/javascript" src="/docs/js/native.js")

block content
  :markdown
    ## Guides

    Mongoose guides provide detailed tutorials on Mongoose's core concepts and
    integrating Mongoose with external tools and frameworks.

    ### Mongoose Core Concepts

    * [Schemas](/docs/guide.html)
    * [SchemaTypes](/docs/schematypes.html)
    * [Connections](/docs/connections.html)
    * [Models](/docs/models.html)
    * [Documents](/docs/documents.html)
    * [Subdocuments](/docs/subdocs.html)
    * [Queries](/docs/queries.html)
    * [Validation](/docs/validation.html)
    * [Middleware](/docs/middleware.html)
    * [Populate](/docs/populate.html)
    * [Discriminators](/docs/discriminators.html)
    * [Plugins](/docs/plugins.html)

    ### Integrations

    * [Promises](/docs/promises.html)
    * [AWS Lambda](/docs/lambda.html)
    * [Browser Library](/docs/browser.html)
    * [GeoJSON](/docs/geojson.html)
    * [Transactions](/docs/transactions.html)
    * [MongoDB Driver Deprecation Warnings](/docs/deprecations.html)
    * [Testing with Jest](/docs/jest.html)

block append layout
  script.
    _native.init("CK7DT53U", {
      targetClass: 'native-js',
      display: 'flex',
      visibleClass: 'native-show'
    });

  div(class="native-js").
    <div class="native-sponsor">Sponsored by #native_company# — Learn More</div>
    <a href="#native_link#" class="native-flex">
      <style>
      .native-js {
        background: linear-gradient(-30deg, #native_bg_color#E5, #native_bg_color#E5 45%, #native_bg_color# 45%) #fff;
      }

      .native-details,
      .native-sponsor,
      .native-bsa {
        color: #native_color# !important;
      }

      .native-details:hover {
        color: #native_color_hover# !important;
      }

      .native-cta {
        color: #native_cta_color#;
        background-color: #native_cta_bg_color#;
      }

      .native-cta:hover {
        color: #native_cta_color_hover;
        background-color: #native_cta_bg_color_hover#;
      }
      </style>
      <div class="native-main">
        <img class="native-img" src="#native_logo#">
        <div class="native-details">
          <span class="native-company">#native_title#</span>
          <span class="native-desc">#native_desc#</span>
        </div>
      </div>
      <span class="native-cta">#native_cta#</span>
    </a>
